package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

//员工管理模块
public interface EmployeeService {
    //员工登录
    ResultInfo login (String username, String password);
//查找员工列表
    List<Employee> find(String name);
//新增员工
    void save(Employee employee);
//回显员工
    Employee findById(Long id);

    void update(Employee employee);
}
